{
  type MyArray<T> = {
    length: number;
    push: (a: T) => T[];
  };

  const arr: MyArray<string> = {
    length: 1,
    push(a: string) {
      return [a];
    },
  };

  arr.push('sgg');
}
